import java.util.Random;
import java.util.Scanner;

public class GuessNumber{
    public static void  main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int a;
        Random random = new Random();
        a  = random.nextInt(100)  + 1;// 生成 1~100 之间的数

        while(true){
            int b = scanner.nextInt();
            if(b > a){
                System.out.println("猜大了!");
            }else if(b < a){
                System.out.println("猜小了!");
            }else{
                System.out.println("猜对了!");
                break;
            }
        }

    }
}
